package com.chx.three.mama;

import android.app.Application;

import com.chx.three.mama.utils.BitmapHelper;
import com.chx.three.mama.utils.FileCache;
import com.chx.three.mama.utils.SPHelper;
import com.chx.three.mama.utils.TimeHelper;

/**
 * Created by Hainuo.
 * Data:2015/3/23
 * Email:851714688@qq.com
 */
public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        //初始化文件缓存
        FileCache.createInstance(getApplicationContext());
        BitmapHelper.initBitmapHelper(getApplicationContext());
        SPHelper.initSPHelper(getApplicationContext());
        TimeHelper.initTimeHelper(getApplicationContext());
    }
}
